Kanzi 4.0.0-beta2
kanzi::gfx::GenerateMipmapsCommand Struct Reference

Generates mipmaps for an image. More...

#include <kanzi/gfx/commands.hpp>

Inheritance diagram for kanzi::gfx::GenerateMipmapsCommand:
[legend]

Public Member Functions

 GenerateMipmapsCommand ()
 Constructor.
 
- Public Member Functions inherited from kanzi::gfx::BaseCommand
uint32_t getSize () const
 Gets the command size in bytes.
 
uint8_t getTag () const
 Gets the command tag.
 
CommandType getType () const
 Gets the command type.
 
void setTag (uint8_t tag)
 Sets the command tag.
 

Public Attributes

ImageSubresource endSubresource
 The ending subresource. 0xFFFF and 0xFF are special values to indicate the remaining part of the image.
 
ImageHandleGuard image
 The source image.
 
ImageSubresource startSubresource
 The starting subresource.
 

Additional Inherited Members

- Protected Member Functions inherited from kanzi::gfx::BaseCommand
 BaseCommand (CommandType t, uint32_t s)
 Constructor.
 
 BaseCommand (const BaseCommand &other)
 Copy Constructor.
 
BaseCommandoperator= (const BaseCommand &other)
 Assignment operator.
 

Detailed Description

Generates mipmaps for an image.

Since
Kanzi 4.0.0

Constructor & Destructor Documentation

◆ GenerateMipmapsCommand()

kanzi::gfx::GenerateMipmapsCommand::GenerateMipmapsCommand ( )
inline

Constructor.

Member Data Documentation

◆ image

ImageHandleGuard kanzi::gfx::GenerateMipmapsCommand::image

The source image.

◆ startSubresource

ImageSubresource kanzi::gfx::GenerateMipmapsCommand::startSubresource

The starting subresource.

◆ endSubresource

ImageSubresource kanzi::gfx::GenerateMipmapsCommand::endSubresource

The ending subresource. 0xFFFF and 0xFF are special values to indicate the remaining part of the image.


The documentation for this struct was generated from the following file: